<template>
	<view class="container">
		<view class="content">
			<view class="address">
				<text style="font-size: 28rpx; color: #555;">寄送至:</text>
				<image src="../../../static/img/center/arrow.png" mode="" style="width:19rpx;height: 34rpx;"></image>
			</view>
			<view class="name">
				<view class="wrapper">
					<image class="bottom_img" src="../../../static/img/index/img-1.png" mode=""></image>
					<image class="left_img" src="../../../static/img/index/img-2.png" mode=""></image>
					<image class="right_img" src="../../../static/img/index/img-3.png" mode=""></image>
					<view class="add_name">
						<text>老王</text>
						<view class="default">
							<view>15555555555</view>
							<view class="button">默认</view>
						</view>
					</view>
					<view class="address_tip">山东省菏泽市曹县</view>
				</view>
			</view>
			<view class="info">
				<view class="store">
					<image src="../../../static/img/index/img-4.png" mode=""></image>
					<view class="store_detail">
						<view style="font-size: 26rpx;">丛林物语双面印花磨毛四件套</view>
						<view class="num">
							<view style="font-size: 24rpx;color: #999;">
								米白色
							</view>
							<text>x1</text>
						</view>
						<view style="font-size: 24rpx;color: #999;margin-top: 15rpx;">￥399.00</view>
					</view>
					<view style="clear: both;"></view>
				</view>
				<view class="store">
					<image src="../../../static/img/index/img-4.png" mode=""></image>
					<view class="store_detail">
						<view style="font-size: 26rpx;">丛林物语双面印花磨毛四件套</view>
						<view class="num">
							<view style="font-size: 24rpx;color: #999;">
								米白色
							</view>
							<text>x1</text>
						</view>
						<view style="font-size: 24rpx;color: #999;margin-top: 15rpx;">￥399.00</view>
					</view>
					<view style="clear: both;"></view>
				</view>
				<view class="price">
					<view class="price_total">
						<view class="">商品总价</view>
						<view>￥256.00</view>
					</view>
					<view class="price_total">
						<view class="">运费</view>
						<view>￥0.00</view>
					</view>
					<view class="price_total">
						<view class="">优惠券</view>
						<view> -￥4.00</view>
					</view>
				</view>
				<view class="all_price">
					<view class="">实付款</view>
					<view>￥450.00</view>
				</view>
				<view class="price">
					<view class="price_total">
						<view class="">下单时间</view>
						<view>2023-05-23 15:25:36</view>
					</view>
					<view class="price_total">
						<view class="">付款时间</view>
						<view>2023-05-23 15:25:36</view>
					</view>
					<view class="price_total">
						<view class="">订单编号</view>
						<view> 574548546584684</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.content {
		width: 100vw;
		height: 100vh;
		background-color: #f4f4f4;
	}

	.address {
		display: flex;
		justify-content: space-between;
		padding: 31rpx 21rpx 30rpx 21rpx;
		border-top: 2px solid #ddd;
		background-color: #fff;
	}

	.name {
		padding: 31rpx 22rpx;
		margin: 0 auto;
		background-color: #f4f4f4;
	}

	.wrapper {
		position: relative;
		background-color: #fff;
		padding: 32rpx 24rpx 36rpx 23rpx;

		.top_img {
			width: 100%;
			height: 6rpx;
			position: absolute;
			top: 0;
			left: 0;
		}

		.left_img {
			width: 6rpx;
			height: 100%;
			position: absolute;
			top: 0;
			left: 0;
		}

		.bottom_img {
			width: 100%;
			height: 6rpx;
			position: absolute;
			bottom: 0;
			left: 0;
		}

		.right_img {
			width: 6rpx;
			height: 100%;
			position: absolute;
			top: 0;
			right: 0;
		}

		.address_tip {
			font-size: 24rpx;
			color: #666;
			margin-top: 41rpx;
		}

		.button {
			width: 70rpx;
			height: 30rpx;
			border: 1px solid #c55a5c;
			font-size: 20rpx;
			color: #c55a5c;
			text-align: center;
			border-radius: 10rpx;
			margin-left: 24rpx;
		}

		.default {
			display: flex;
			align-items: center;
		}
	}

	.wrapper .add_name {
		display: flex;
		justify-content: space-between;
	}


	.info {
		padding: 0 22rpx;
		background-color: #fff;
	}

	.store {
		background-color: #fff;
		border-bottom: 1px solid #ddd;
		padding: 21rpx 0;

		image {
			width: 160rpx;
			height: 161rpx;
			margin-left: 30rpx;
			margin-right: 24rpx;
			float: left;
		}

		.store_detail {
			padding-top: 18rpx;
		}

		.num {
			display: flex;
			margin-top: 15rpx;

			text {
				margin-left: 40rpx;
				font-size: 26rpx;
				color: #999;
			}
		}
	}

	.all_price {
		display: flex;
		justify-content: space-between;
		border-bottom: 1px solid #ddd;
		padding: 21rpx 0 23rpx 0;
		font-size: 26rpx;
		color: #c55a5c;
		font-weight: 550;
		margin-bottom: 18rpx;
	}

	.price {
		font-size: 20rpx;
		color: #999;
		border-bottom: 1px solid #ddd;
		padding-top: 24rpx;

		.price_total {
			display: flex;
			justify-content: space-between;
			margin-bottom: 24rpx;
		}
	}
</style>